﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Pages/Default.master" AutoEventWireup="true"
    CodeBehind="ShoppingList.aspx.cs" Inherits="AUV5.Web.Pages.ShoppingList" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<%@ Register Src="UCUserStatistics.ascx" TagName="UCUserStatistics" TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script src="/!js/orderStatistics.js" type="text/javascript"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <input id="hidStr" name="hidStr" type="hidden" runat="server" />
    <p class="usertitle">
        我的订单</p>
    <uc1:UCUserStatistics ID="UCUserStatistics1" runat="server" />
    <div class="ordermenu">
        <p>
            <a href="/orders/seller">我是卖家</a></p>
        <p class="menuselected">
            我是买家</p>
    </div>
    <div class="userprofile userprofile_rightbg">
        <div class="orderstuts">
            <ul>
                <li>
                    <p>
                        已付款<asp:Label ID="lblPaymentCount" runat="server" Text=""></asp:Label></p>
                </li>
                <li>
                    <p>
                        未付款<asp:Label ID="lblDefaultCount" runat="server" Text=""></asp:Label></p>
                </li>
                <li>
                    <p>
                        已发货<asp:Label ID="lblShippedCount" runat="server" Text=""></asp:Label></p>
                </li>
                <li>
                    <p>
                        已完成<asp:Label ID="lblCompletedCount" runat="server" Text=""></asp:Label></p>
                </li>
                <li class="borderdel">
                    <p>
                        已关闭<asp:Label ID="lblClosedCount" runat="server" Text=""></asp:Label></p>
                </li>
            </ul>
            <p class="clear">
            </p>
            <p id="showEvaluate" class="orderevaluate paddl1 none">
                <span><a>未评价</a></span> | <span><a>已评价</a></span> | <span><a>已互评</a></span>
            </p>
            <p id="showClosed" class="orderevaluate paddl2 none">
                <span><a>已关闭</a></span> | <span><a>买家关闭</a></span> | <span><a>卖家关闭</a></span>
            </p>
        </div>
        <div class="orderlist">
            <ul class="orderlistbox">
                <asp:Repeater ID="rpOrderList" runat="server" OnItemDataBound="rpOrderList_DataBound">
                    <ItemTemplate>
                        <li>
                            <p class="buyersavatar">
                                <asp:Image ID="imgUser" runat="server" />
                            </p>
                            <div class="orderinfo">
                                <p class="servicetitles">
                                    <a href="">
                                        <asp:Label ID="lblId" runat="server" Text="<%# (Container.DataItem as AUV5.Model.OrderInfo).OrderID %>"
                                            Visible="false"></asp:Label>
                                        <asp:LinkButton ID="lbtnServiceTitle" runat="server"></asp:LinkButton>
                                    </a>
                                </p>
                                <p>
                                    卖家：<asp:LinkButton ID="lbtnSeller" runat="server"></asp:LinkButton>
                                </p>
                                <p>
                                    <asp:Label ID="lblStatus" runat="server" Text=""></asp:Label>
                                    <%--<img src="/!images/paid.jpg" />
                                    <img src="/!images/non_payment.jpg" />
                                    <img src="/!images/receiving.jpg" />
                                    <img src="/!images/evaluated.jpg" />--%>
                                </p>
                                <p>
                                    交易时间：<span><%# (Container.DataItem as AUV5.Model.OrderInfo).UpdateDate %></span></p>
                                <p class="orderline">
                                    <asp:LinkButton ID="lblEvaluate" runat="server" Visible="false">评价服务</asp:LinkButton>
                                    <asp:LinkButton ID="lbtnContract" runat="server">联系卖家</asp:LinkButton>
                                    <asp:LinkButton ID="lbtnPayment" runat="server" Visible="false">去付款</asp:LinkButton>
                                    <asp:LinkButton ID="lbtnDetail" CssClass="orderlinedel" runat="server" Text="查看详细"></asp:LinkButton>
                                </p>
                                <div class="clear">
                                </div>
                            </div>
                            <div class="clear">
                            </div>
                        </li>
                    </ItemTemplate>
                </asp:Repeater>
            </ul>
            <div class="pages">
                <webdiyer:AspNetPager ID="AspNetPager1" runat="server" OnPageChanged="AspNetPager1_PageChanged"
                    CustomInfoHTML="共%PageCount%页，当前为第%CurrentPageIndex%页" PageIndexBoxType="DropDownList"
                    PagingButtonLayoutType="Span" SubmitButtonText="Go" TextAfterPageIndexBox="页"
                    TextBeforePageIndexBox="转到" PageSize="10" PagingButtonSpacing="" CurrentPageButtonClass="currentpage"
                    ButtonImageExtension=".jpg" ImagePath="/!images/" ShowPageIndexBox="Never">
                </webdiyer:AspNetPager>
            </div>
        </div>
    </div>
</asp:Content>
